package cn.gson.crmdemo.model.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import cn.gson.crmdemo.model.pojo.Customer;
import cn.gson.crmdemo.model.pojo.Order;

@Entity
@Table(name = "outorder")
public class OutorderCustomerOrderVo {
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="oo_id")
	private int ooId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="oo_date")
	private Date ooDate;

	@Column(name="oo_isornotuse")
	private int ooIsornotuse;

	@Column(name="oo_jingbanren")
	private String ooJingbanren;

	@Column(name="oo_remark")
	private String ooRemark;

	@Column(name="oo_shenhestate")
	private int ooShenhestate;

	@Column(name="oo_state")
	private int ooState;

	@Column(name="oo_title")
	private String ooTitle;

	@Column(name="customer_id")
	private int customer;

	@Column(name="o_id")
	private int order;

	public int getOoId() {
		return ooId;
	}

	public void setOoId(int ooId) {
		this.ooId = ooId;
	}

	public Date getOoDate() {
		return ooDate;
	}

	public void setOoDate(Date ooDate) {
		this.ooDate = ooDate;
	}

	public int getOoIsornotuse() {
		return ooIsornotuse;
	}

	public void setOoIsornotuse(int ooIsornotuse) {
		this.ooIsornotuse = ooIsornotuse;
	}

	public String getOoJingbanren() {
		return ooJingbanren;
	}

	public void setOoJingbanren(String ooJingbanren) {
		this.ooJingbanren = ooJingbanren;
	}

	public String getOoRemark() {
		return ooRemark;
	}

	public void setOoRemark(String ooRemark) {
		this.ooRemark = ooRemark;
	}

	public int getOoShenhestate() {
		return ooShenhestate;
	}

	public void setOoShenhestate(int ooShenhestate) {
		this.ooShenhestate = ooShenhestate;
	}

	public int getOoState() {
		return ooState;
	}

	public void setOoState(int ooState) {
		this.ooState = ooState;
	}

	public String getOoTitle() {
		return ooTitle;
	}

	public void setOoTitle(String ooTitle) {
		this.ooTitle = ooTitle;
	}

	public int getCustomer() {
		return customer;
	}

	public void setCustomer(int customer) {
		this.customer = customer;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public OutorderCustomerOrderVo(int ooId, Date ooDate, int ooIsornotuse, String ooJingbanren, String ooRemark,
			int ooShenhestate, int ooState, String ooTitle, int customer, int order) {
		super();
		this.ooId = ooId;
		this.ooDate = ooDate;
		this.ooIsornotuse = ooIsornotuse;
		this.ooJingbanren = ooJingbanren;
		this.ooRemark = ooRemark;
		this.ooShenhestate = ooShenhestate;
		this.ooState = ooState;
		this.ooTitle = ooTitle;
		this.customer = customer;
		this.order = order;
	}

	public OutorderCustomerOrderVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "OutorderCustomerOrderVo [ooId=" + ooId + ", ooDate=" + ooDate + ", ooIsornotuse=" + ooIsornotuse
				+ ", ooJingbanren=" + ooJingbanren + ", ooRemark=" + ooRemark + ", ooShenhestate=" + ooShenhestate
				+ ", ooState=" + ooState + ", ooTitle=" + ooTitle + ", customer=" + customer + ", order=" + order + "]";
	}
	
	
}
